package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 过程信息对象 item_attr
 * 
 * @author ruoyi
 * @date 2020-02-20
 */
public class ItemAttr extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 对象id */
    private Long objectId;

    /** 对象类型 */
    @Excel(name = "对象类型")
    private String objectType;

    /** 对象名称 */
    @Excel(name = "对象名称")
    private String objectName;

    /** 优先级（0最高 1高 2中 3低 4最低） */
    private String priority;

    /** IP地址 */
    @Excel(name = "IP地址")
    private String ipAddress;

    /** 域名 */
    @Excel(name = "域名")
    private String domainName;

    /** 端口 */
    private Long ipPort;

    /** 服务 */
    private String service;

    /** 版本信息 */
    private String version;

    /** 访问方式 */
    private String uri;

    /** 控制台类型（0网络设备 1安全设备 2云计算平台） */
    private String consoleType;

    /** 下载地址 */
    private String download;

    /** 账号口令 */
    private String accountPass;

    /** 登录点 */
    private String loginFace;

    /** 登录方式 */
    private String loginMode;

    /** 风险等级（0高 1中 2低） */
    private String riskLevel;

    /** 验证情况（0已验证 1疑似存在 2未验证 ） */
    private String verification;

    /** 后渗透对象访问方式 */
    private String afterObject;

    /** 敏感度（0高 1中 2低） */
    private String sensitivity;

    /** 数据规模 */
    private String dataSize;

    public void setObjectId(Long objectId) 
    {
        this.objectId = objectId;
    }

    public Long getObjectId() 
    {
        return objectId;
    }
    public void setObjectType(String objectType) 
    {
        this.objectType = objectType;
    }

    public String getObjectType() 
    {
        return objectType;
    }
    public void setObjectName(String objectName) 
    {
        this.objectName = objectName;
    }

    public String getObjectName() 
    {
        return objectName;
    }
    public void setPriority(String priority) 
    {
        this.priority = priority;
    }

    public String getPriority() 
    {
        return priority;
    }
    public void setIpAddress(String ipAddress) 
    {
        this.ipAddress = ipAddress;
    }

    public String getIpAddress() 
    {
        return ipAddress;
    }
    public void setDomainName(String domainName) 
    {
        this.domainName = domainName;
    }

    public String getDomainName() 
    {
        return domainName;
    }
    public void setIpPort(Long ipPort) 
    {
        this.ipPort = ipPort;
    }

    public Long getIpPort() 
    {
        return ipPort;
    }
    public void setService(String service) 
    {
        this.service = service;
    }

    public String getService() 
    {
        return service;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }
    public void setUri(String uri) 
    {
        this.uri = uri;
    }

    public String getUri() 
    {
        return uri;
    }
    public void setConsoleType(String consoleType) 
    {
        this.consoleType = consoleType;
    }

    public String getConsoleType() 
    {
        return consoleType;
    }
    public void setDownload(String download) 
    {
        this.download = download;
    }

    public String getDownload() 
    {
        return download;
    }
    public void setAccountPass(String accountPass) 
    {
        this.accountPass = accountPass;
    }

    public String getAccountPass() 
    {
        return accountPass;
    }
    public void setLoginFace(String loginFace) 
    {
        this.loginFace = loginFace;
    }

    public String getLoginFace() 
    {
        return loginFace;
    }
    public void setLoginMode(String loginMode) 
    {
        this.loginMode = loginMode;
    }

    public String getLoginMode() 
    {
        return loginMode;
    }
    public void setRiskLevel(String riskLevel) 
    {
        this.riskLevel = riskLevel;
    }

    public String getRiskLevel() 
    {
        return riskLevel;
    }
    public void setVerification(String verification) 
    {
        this.verification = verification;
    }

    public String getVerification() 
    {
        return verification;
    }
    public void setAfterObject(String afterObject) 
    {
        this.afterObject = afterObject;
    }

    public String getAfterObject() 
    {
        return afterObject;
    }
    public void setSensitivity(String sensitivity) 
    {
        this.sensitivity = sensitivity;
    }

    public String getSensitivity() 
    {
        return sensitivity;
    }
    public void setDataSize(String dataSize) 
    {
        this.dataSize = dataSize;
    }

    public String getDataSize() 
    {
        return dataSize;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("objectId", getObjectId())
            .append("parentId", getParentId())
            .append("ancestors", getAncestors())
            .append("objectType", getObjectType())
            .append("objectName", getObjectName())
            .append("priority", getPriority())
            .append("ipAddress", getIpAddress())
            .append("domainName", getDomainName())
            .append("ipPort", getIpPort())
            .append("service", getService())
            .append("version", getVersion())
            .append("uri", getUri())
            .append("consoleType", getConsoleType())
            .append("download", getDownload())
            .append("remark", getRemark())
            .append("accountPass", getAccountPass())
            .append("loginFace", getLoginFace())
            .append("loginMode", getLoginMode())
            .append("riskLevel", getRiskLevel())
            .append("verification", getVerification())
            .append("afterObject", getAfterObject())
            .append("sensitivity", getSensitivity())
            .append("dataSize", getDataSize())
            .toString();
    }
}
